<?php

include "../../../lib/start.php";

ini_set("display_errors", "1");

check_session();
check_permission(DOC_PERM);

//print $_REQUEST['action'];
if(isset($_REQUEST['action']) && $_REQUEST['action'] == "send"){
	include_once $_SERVER['DOCUMENT_ROOT'].'/shared/sendmail.php';
}

if($_REQUEST['d'] == "students"){
	$sel_tos = "SELECT ";
}

include "send_mail.html.php";

?>